﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TurtleLib.Simulation;

namespace TurtleLib.ComputerCraft
{
  public partial class PeripheralUtility
  {
    internal class PeripheralUtilityAccess
    {
      private PeripheralUtility _peripheralUtility;

      public PeripheralUtilityAccess(PeripheralUtility peripheralUtility)
      {
        _peripheralUtility = peripheralUtility;
      }

      public Func<Point3D> WorldLocationRequestCallback { get { return _peripheralUtility.WorldLocationRequestCallback; } set { _peripheralUtility.WorldLocationRequestCallback = value; } }
      public Func<Face> WorldFaceRequestCallback { get { return _peripheralUtility.WorldFaceRequestCallback; } set { _peripheralUtility.WorldFaceRequestCallback = value; } }
      public Func<Point3D, object> WorldObjectLookupCallback { get { return _peripheralUtility.WorldObjectLookupCallback; } set { _peripheralUtility.WorldObjectLookupCallback = value; } }
    }
  }
}
